home *** CD-ROM | disk | FTP | other *** search
- MedicTool = {
- name = "MedicTool",
- object = "Objects/pickups/health/medikit.cgf",
- character = "Objects/Weapons/health_pack/health_pack.cgf",
-
- PlayerSlowDown = 1.0,
- -- factor to slow down the player when he holds that weapon
- ---------------------------------------------------
- AimMode=1,
- --NoZoom=1,
- ZoomOverlayFunc=AimModeZoomHUD.DrawHUD,
-
- MaxZoomSteps = 1,
- ZoomSteps = { 1.2},
- -- normal crosshair-size
- ---------------------------------------------------
- --ActivateSound = Sound.Load3DSound("Sounds/Weapons/Machete/Macheteweapact.wav"),
- -- sound to play when this weapon is selected
- ---------------------------------------------------
- switch_on_empty_ammo = 1,
- ---------------------------------------------------
- NoZoom=1,
-
- FireParams ={
- -- describes all supported firemodes
- {
- HasCrosshair=1,
- type = 3,
- AmmoType="HealthPack",
- projectile_class="Health",
- accuracy=1,
- reload_time=0.01,
- fire_rate=0.3,
- distance=1.4,
- damage=20,
- bullet_per_shot=1,
- bullets_per_clip=1,
- FModeActivationTime = 2.0,
- iImpactForceMul = 80,
- iImpactForceMulFinal = 80,
- fire_activation=bor(FireActivation_OnPress),
- FireSounds = {
- "Sounds/Weapons/health/dart.wav", -- todo
- },
-
- no_ammo=1,
- SoundMinMaxVol = { 255, 5, 20 },
- },
-
- },
-
- -- SoundEvents={
- -- animname, frame, soundfile
- -- { "swim", 1, Sound:LoadSound("Sounds/player/water/underwaterswim2.wav",0,255)},
- -- },
-
- Recoil = 1,
- }
-
- CreateBasicWeapon(MedicTool);
-
- ---------------------------------------------------------------
- --ANIMTABLE
- ------------------
- --SINGLE FIRE
- MedicTool.anim_table={}
- MedicTool.anim_table[1]={
- idle={
- "Idle11",
- "Idle21",
- },
- fire={
- "Fire11",
- },
- activate={
- "Activate1"
- },
- }